namespace ConsoleApp1._1013;
//键盘输入三个整数x、y、z，请把这三个数由小到大输出
using System;
public class one {
    public static void run()
    {
        Console.Write("请输入x,y,z的值");
        int x = int.Parse(Console.ReadLine());
        int y = int.Parse(Console.ReadLine());
        int z = int.Parse(Console.ReadLine());
        int a, b, c;
        if (x <= y && x <= z)
        {
            a = x;
            if (y <= z)
            {
                b = y;
                c = z;
            }
            else
            {
                b = z;
                c = y;
            }
        }
        else if (y <= x && y <= z)
        {
            a = y;
            if (x <= z)
            {
                b = x;
                c = z;
            }
            else
            {
                b = z;
                c = x;
            }
        }
        else
        {
            a = z;
            if (x <= y)
            {
                b = x;
                c = y;
            }
            else
            {
                b = y;
                c = x;
            }
        }
        Console.WriteLine("{a},{b},{c}");
    }

}